Leviticus 20:3-4

20:3 I myself will set my face against that man and cut him off from the midst of his people, because he has given some of his children to Molech and thereby defiled my sanctuary and profaned my holy name. 20:4 If, however, the people of the land shut their eyes to that man when he gives some of his children to Molech so that they do not put him to death,